//
//  ProductViewContent.h
//  cutter
//
//  Created by mac on 15/12/21.
//  Copyright © 2015年 e360. All rights reserved.
//
#import "ProductCustom.h"
#import "IndexHomeCtrl.h"
#import "ProductClassifyCtrl.h"
#import "UIMenuClass.h"


//
@interface ProductAssetsCtrl : UIViewController
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UITextField *searchView;
@property (weak, nonatomic) IBOutlet UIButton *deleteView;
@property (weak, nonatomic) IBOutlet UIButton *editView;
@property (strong, nonatomic) NSMutableArray *data;
@property (copy, nonatomic) blockEvent onSelected;
@property (nonatomic, assign) NSInteger type;
@end


//产品收藏
@interface ProductFavoriteCtrl : UIViewController
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (strong, nonatomic) NSMutableDictionary *condition;
@property (strong, nonatomic) NSMutableArray *data;
@property (copy, nonatomic) blockEvent onSelected;
@property (assign, nonatomic) NSInteger type;
-(void)reloadData;
@end


//产品列表
@interface ProductListCtrl : UIViewController
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *rightLayout;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UILabel *countView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (strong, nonatomic) NSArray *data;
-(void)reloadData;
@end


//
@interface ProductCenterCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (weak, nonatomic) IBOutlet UIButton *selectView;
@property (weak, nonatomic) IBOutlet UIButton *infoView;
@property (strong, nonatomic) NSDictionary *data;
@property (assign, nonatomic) NSInteger type;
@end


//
@interface ProductCenterCtrl : UIViewController<UITextFieldDelegate>
@property (strong, nonatomic) ProductClassifyTips *tipsView;
@property (weak, nonatomic) IBOutlet UIView *nullView;
@property (weak, nonatomic) IBOutlet UITextField *textFiled;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftLayout;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topLayout;
@property (weak, nonatomic) IBOutlet ProductSortPrice *priceView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@property (weak, nonatomic) IBOutlet UIButton *classifyView;
@property (weak, nonatomic) IBOutlet UIButton *screenView;
@property (weak, nonatomic) IBOutlet UIButton *salesView;
@property (weak, nonatomic) IBOutlet UIButton *mixedView;
@property (weak, nonatomic) IBOutlet UIButton *exitView;
@property (weak, nonatomic) IBOutlet UIMenuClass *menuView;
@property (copy, nonatomic) blockEvent onSelected;
@property (strong, nonatomic) NSMutableDictionary *condition;
@property (strong, nonatomic) NSMutableArray *data;
@property (assign, nonatomic) NSInteger type;
-(void)reloadData;
@end